package com.gdut.demo.service;

import com.gdut.demo.dao.FWaveDao;
import com.gdut.demo.entity.FWave;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class FWaveServiceImpl implements FWaveService {

    @Autowired
    private FWaveDao fWaveDao;

    @Override
    public List<FWave> getAll() {
        return fWaveDao.getAll();
    }

    @Override
    public List<FWave> getOnePacketData() {
        return fWaveDao.getOnePacketData();
    }
}
